worker.onMessage(function (res) {
    console.log(res)
  })